package com.jeegit.ecms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.jeegit.common.annotation.Excel;
import com.jeegit.common.core.domain.BaseEntity;

/**
 * 站点设置对象 cms_site
 * 
 * @author jeegit
 * @date 2022-06-24
 */
public class CmsSite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 简称 */
    @Excel(name = "简称")
    private String shortTitle;

    /** 英文简称 */
    @Excel(name = "英文简称")
    private String enShortTitle;

    /** 域名 */
    @Excel(name = "域名")
    private String host;

    /** 排序 */
    @Excel(name = "排序")
    private BigDecimal sort;

    /** 关键字 */
    @Excel(name = "关键字")
    private String keywords;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** logo */
    @Excel(name = "logo")
    private String logo;

    /** 移动端logo */
    @Excel(name = "移动端logo")
    private String shortLogo;

    /** 大屏幕logo */
    @Excel(name = "大屏幕logo")
    private String bigLogo;

    /** 版权信息 */
    @Excel(name = "版权信息")
    private String copyright;

    /** 主题 */
    @Excel(name = "主题")
    private String dictTheme;

    /** 首页视图 */
    @Excel(name = "首页视图")
    private String indexView;

    /** 状态（0正常 1删除 2停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=删除,2=停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setShortTitle(String shortTitle) 
    {
        this.shortTitle = shortTitle;
    }

    public String getShortTitle() 
    {
        return shortTitle;
    }
    public void setEnShortTitle(String enShortTitle) 
    {
        this.enShortTitle = enShortTitle;
    }

    public String getEnShortTitle() 
    {
        return enShortTitle;
    }
    public void setHost(String host) 
    {
        this.host = host;
    }

    public String getHost() 
    {
        return host;
    }
    public void setSort(BigDecimal sort) 
    {
        this.sort = sort;
    }

    public BigDecimal getSort() 
    {
        return sort;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setShortLogo(String shortLogo) 
    {
        this.shortLogo = shortLogo;
    }

    public String getShortLogo() 
    {
        return shortLogo;
    }
    public void setBigLogo(String bigLogo) 
    {
        this.bigLogo = bigLogo;
    }

    public String getBigLogo() 
    {
        return bigLogo;
    }
    public void setCopyright(String copyright) 
    {
        this.copyright = copyright;
    }

    public String getCopyright() 
    {
        return copyright;
    }
    public void setDictTheme(String dictTheme) 
    {
        this.dictTheme = dictTheme;
    }

    public String getDictTheme() 
    {
        return dictTheme;
    }
    public void setIndexView(String indexView) 
    {
        this.indexView = indexView;
    }

    public String getIndexView() 
    {
        return indexView;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("shortTitle", getShortTitle())
            .append("enShortTitle", getEnShortTitle())
            .append("host", getHost())
            .append("sort", getSort())
            .append("keywords", getKeywords())
            .append("description", getDescription())
            .append("logo", getLogo())
            .append("shortLogo", getShortLogo())
            .append("bigLogo", getBigLogo())
            .append("copyright", getCopyright())
            .append("dictTheme", getDictTheme())
            .append("indexView", getIndexView())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
